home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 100 / CD-ROM 100.iso / aplic / oo1_1 / f_0328 / scalc.jar / text / scalc / guide / webquery.xml < prev    next >
Encoding:
Extensible Markup Language  |  2003-04-30  |  9.5 KB  |  102 lines

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <html><head><title>Inserting External Data in Table (WebQuery)</title><meta name="filename" content="text/scalc/guide/webquery"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css">
  3.  
  4.         table.Tabelle1{
  5.                 }
  6.         span.Tabelle1A{
  7.                 width:1.032cm;}
  8.         span.Tabelle1B{
  9.                 width:0.979cm;}
  10.         span.Tabelle1C{
  11.                 width:15.986cm;}
  12.         p.P1{
  13.                 }
  14.         p.P2{
  15.                 }
  16.         p.P3{
  17.                 }
  18.         p.P4{
  19.                 }
  20.         span.T1{
  21.                 font-weight:bold;}
  22.         span.fr1{
  23.                 }
  24.         </style></head><body>
  25.   
  26.   
  27.   <p class="P1"><help:paragraphinfo state="U" number="1" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="WebQuery; inserting" tag="kw68398_1" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="HTML WebQuery; inserting" tag="kw68398_7" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="ranges; inserting in tables" tag="kw68398_6" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="external data; inserting" tag="kw68398_5" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="tables; inserting external data" tag="kw68398_4" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="inserting; external data in tables" tag="kw68398_3" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="web pages; importing data" tag="kw68398_2" xmlns:help="http://openoffice.org/2000/help"/></p>
  28.   <p class="Head1"><help:paragraphinfo state="U" number="2" xmlns:help="http://openoffice.org/2000/help"/><help:to-be-embedded Eid="webquery" xmlns:help="http://openoffice.org/2000/help"><help:link Id="68398">Inserting External Data in Table (WebQuery)</help:link></help:to-be-embedded></p>
  29.   <p class="Paragraph"><help:paragraphinfo state="U" number="3" xmlns:help="http://openoffice.org/2000/help"/>With the help of the <span class="T1">Web Page Query <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Calc</span> import filter, you can insert tables from HTML documents in a <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Calc spreadsheet.</p>
  30.   <p class="Paragraph"><help:paragraphinfo state="U" number="4" xmlns:help="http://openoffice.org/2000/help"/>You can use the same method to insert ranges defined by name from a <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Calc or Microsoft Excel spreadsheet.</p>
  31.   <p class="Paragraph"><help:paragraphinfo state="U" number="5" xmlns:help="http://openoffice.org/2000/help"/>The following insert methods are available:</p>
  32.   <p class="Head2"><help:paragraphinfo state="U" number="6" xmlns:help="http://openoffice.org/2000/help"/>Inserting by Dialog</p>
  33.   <ol class="L1">
  34.    <li class="">
  35.     <p class="P2"><help:paragraphinfo state="U" number="7" xmlns:help="http://openoffice.org/2000/help"/>Set the cell cursor at the cell where the new content will be inserted.</p>
  36.    </li>
  37.    <li class="">
  38.     <p class="P2"><help:paragraphinfo state="U" number="8" xmlns:help="http://openoffice.org/2000/help"/>Choose <span class="T1">Insert - External Data</span>. This opens the <span class="T1">External Data</span> dialog.</p>
  39.    </li>
  40.    <li class="">
  41.     <p class="P2"><help:paragraphinfo state="U" number="9" xmlns:help="http://openoffice.org/2000/help"/>Enter the URL of the HTML document or the name of the spreadsheet. Press Enter when finished. Click the <span class="T1">...</span> button to open a file selection dialog.</p>
  42.    </li>
  43.    <li class="">
  44.     <p class="P2"><help:paragraphinfo state="U" number="10" xmlns:help="http://openoffice.org/2000/help"/>In the large list box of the dialog, select the named ranges or tables you want to insert.</p>
  45.    </li>
  46.    <li class="">
  47.     <p class="P2"><help:paragraphinfo state="U" number="11" xmlns:help="http://openoffice.org/2000/help"/>You can also specify that the ranges or tables are updated every n seconds.</p>
  48.    </li>
  49.   </ol>
  50.   <p class="Paragraph"><help:paragraphinfo state="U" number="30" xmlns:help="http://openoffice.org/2000/help"/>The import filter can create names for cell ranges on the fly. As much formatting as possible is retained, while the filter intentionally does not load any images.</p>
  51.   <p class="Head2"><help:paragraphinfo state="U" number="12" xmlns:help="http://openoffice.org/2000/help"/>Inserting by Navigator</p>
  52.   <table><tr class=""><td style="text-align:left;"><span class="Tabelle1A">
  53.      <p class="Paragraph"><help:paragraphinfo state="U" number="13" xmlns:help="http://openoffice.org/2000/help"/>1.</p>
  54.     </span></td><td style="text-align:left;"><span class="Tabelle1B">
  55.      <p class="Paragraph"/>
  56.     </span></td><td style="text-align:left;"><span class="Tabelle1C">
  57.      <p class="Paragraph"><help:paragraphinfo state="U" number="14" xmlns:help="http://openoffice.org/2000/help"/>Open two documents: the <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Calc spreadsheet in which the external data is to be inserted (target document) and the document from which the external data derives (source document).</p>
  58.     </span></td></tr><tr class=""><td style="text-align:left;"><span class="Tabelle1A">
  59.      <p class="Paragraph"><help:paragraphinfo state="U" number="15" xmlns:help="http://openoffice.org/2000/help"/>2.</p>
  60.     </span></td><td style="text-align:left;"><span class="Tabelle1B">
  61.      <p class="Paragraph"/>
  62.     </span></td><td style="text-align:left;"><span class="Tabelle1C">
  63.      <p class="Paragraph"><help:paragraphinfo state="U" number="16" xmlns:help="http://openoffice.org/2000/help"/>In the target document open the Navigator.</p>
  64.     </span></td></tr><tr class=""><td style="text-align:left;"><span class="Tabelle1A">
  65.      <p class="Paragraph"><help:paragraphinfo state="U" number="17" xmlns:help="http://openoffice.org/2000/help"/>3.</p>
  66.     </span></td><td style="text-align:left;"><span class="Tabelle1B">
  67.      <p class="Paragraph"/>
  68.     </span></td><td style="text-align:left;"><span class="Tabelle1C">
  69.      <p class="Paragraph"><help:paragraphinfo state="U" number="18" xmlns:help="http://openoffice.org/2000/help"/>In the lower combo box of the Navigator select the source document. The Navigator now shows the range names and database ranges or the tables contained in the source document.</p>
  70.     </span></td></tr><tr class=""><td style="text-align:left;"><span class="Tabelle1A">
  71.      <p class="Paragraph"><help:paragraphinfo state="U" number="19" xmlns:help="http://openoffice.org/2000/help"/>4.</p>
  72.     </span></td><td style="text-align:left;"><span class="Tabelle1B">
  73.      <p class="Paragraph"><draw:image draw:name="Icon0" svg:desc="Icon" svg:pixelx="25" svg:pixely="25" svg:width="0.661cm" svg:height="0.661cm" xlink:href="67365" draw:filter-name="" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"/></p>
  74.  
  75.     </span></td><td style="text-align:left;"><span class="Tabelle1C">
  76.      <p class="Paragraph"><help:paragraphinfo state="U" number="20" xmlns:help="http://openoffice.org/2000/help"/>In the Navigator select the <span class="T1">Insert as link</span> drag mode.</p>
  77.     </span></td></tr><tr class=""><td style="text-align:left;"><span class="Tabelle1A">
  78.      <p class="Paragraph"><help:paragraphinfo state="U" number="21" xmlns:help="http://openoffice.org/2000/help"/>5.</p>
  79.     </span></td><td style="text-align:left;"><span class="Tabelle1B">
  80.      <p class="Paragraph"/>
  81.     </span></td><td style="text-align:left;"><span class="Tabelle1C">
  82.      <p class="Paragraph"><help:paragraphinfo state="U" number="22" xmlns:help="http://openoffice.org/2000/help"/>Drag the desired external data from the navigator into the target document.</p>
  83.     </span></td></tr></table>
  84.   <p class="Paragraph"><help:paragraphinfo state="U" number="23" xmlns:help="http://openoffice.org/2000/help"/>If you have loaded an HTML document with the <span class="T1">Web Page Query</span> filter as the source document, you will find the tables in the Navigator, named continuously from "HTML_table1" onwards, and also two range names that have been created:</p>
  85.   <ul class="L2">
  86.    <li class="">
  87.     <p class="P3"><help:paragraphinfo state="U" number="24" xmlns:help="http://openoffice.org/2000/help"/>HTML_all - designates the entire document</p>
  88.    </li>
  89.    <li class="">
  90.     <p class="P3"><help:paragraphinfo state="U" number="25" xmlns:help="http://openoffice.org/2000/help"/>HTML_tables - designates all HTML tables in the document</p>
  91.    </li>
  92.   </ul>
  93.   <p class="Head2"><help:paragraphinfo state="U" number="26" xmlns:help="http://openoffice.org/2000/help"/>Editing the external data</p>
  94.   <ul class="L3">
  95.    <li class="">
  96.     <p class="P4"><help:paragraphinfo state="U" number="27" xmlns:help="http://openoffice.org/2000/help"/>Open <span class="T1">Edit - Links</span>. Here you can edit the link to the external data.</p>
  97.    </li>
  98.   </ul>
  99.   <p class="ParaList"><help:paragraphinfo state="S" xmlns:help="http://openoffice.org/2000/help"/><help:embedded Id="65598" Eid="related" xmlns:help="http://openoffice.org/2000/help"/></p>
  100.   <p class="ParaList"><help:paragraphinfo state="U" number="28" xmlns:help="http://openoffice.org/2000/help"/><help:link Id="68306" xmlns:help="http://openoffice.org/2000/help">External data dialog</help:link></p>
  101.   <p class="ParaList"><help:paragraphinfo state="S" xmlns:help="http://openoffice.org/2000/help"/><help:embedded Id="68074" Eid="cellreferences_url" xmlns:help="http://openoffice.org/2000/help"/></p>
  102.  </body></html>